package com.dt76.smallloanbackenduser.pojo.xiaohao;


import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Component
public class BorrowOrder implements Serializable {

    private long boId;
    private long uId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date oCreateTime;
    private String oWantedMoney;
    private String oRepayMode;
    private long oLoanTime;
    private long pId;
    private String lType;
    private long cId;
    private String boType;
    private String bankId;

    private User user;

    private List<CheckState> checkStates;

    private CheckState checkState;

    private Employee employee;

    private Contract contract;

    private ApprovalLoan approvalLoan;

    private LoanType loanType;

    public ApprovalLoan getApprovalLoan() {
        return approvalLoan;
    }

    public void setApprovalLoan(ApprovalLoan approvalLoan) {
        this.approvalLoan = approvalLoan;
    }

    public Contract getContract() {
        return contract;
    }

    public void setContract(Contract contract) {
        this.contract = contract;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    private HLoanProducts hLoanProducts;

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public long getBoId() {
        return boId;
    }

    public void setBoId(long boId) {
        this.boId = boId;
    }

    public long getuId() {
        return uId;
    }

    public void setuId(long uId) {
        this.uId = uId;
    }

    public Date getoCreateTime() {
        return oCreateTime;
    }

    public void setoCreateTime(Date oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public String getoWantedMoney() {
        return oWantedMoney;
    }

    public void setoWantedMoney(String oWantedMoney) {
        this.oWantedMoney = oWantedMoney;
    }

    public String getoRepayMode() {
        return oRepayMode;
    }

    public void setoRepayMode(String oRepayMode) {
        this.oRepayMode = oRepayMode;
    }

    public long getoLoanTime() {
        return oLoanTime;
    }

    public void setoLoanTime(long oLoanTime) {
        this.oLoanTime = oLoanTime;
    }

    public long getpId() {
        return pId;
    }

    public void setpId(long pId) {
        this.pId = pId;
    }

    public String getlType() {
        return lType;
    }

    public void setlType(String lType) {
        this.lType = lType;
    }

    public long getcId() {
        return cId;
    }

    public void setcId(long cId) {
        this.cId = cId;
    }

    public String getBoType() {
        return boType;
    }

    public void setBoType(String boType) {
        this.boType = boType;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<CheckState> getCheckStates() {
        return checkStates;
    }

    public void setCheckStates(List<CheckState> checkStates) {
        this.checkStates = checkStates;
    }

    public HLoanProducts gethLoanProducts() {
        return hLoanProducts;
    }

    public void sethLoanProducts(HLoanProducts hLoanProducts) {
        this.hLoanProducts = hLoanProducts;
    }

    public CheckState getCheckState() {
        return checkState;
    }

    public void setCheckState(CheckState checkState) {
        this.checkState = checkState;
    }

    public LoanType getLoanType() {
        return loanType;
    }

    public void setLoanType(LoanType loanType) {
        this.loanType = loanType;
    }

}
